package com.xindaoapp.happypet.bean;

import java.io.Serializable;
import java.util.List;

public class ClubInfo extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	public List<Club> array;

	public List<Club> getArray() {
		return array;
	}
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((array == null) ? 0 : array.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ClubInfo other = (ClubInfo) obj;
		if (array == null) {
			if (other.array != null)
				return false;
		} else if (!array.equals(other.array))
			return false;
		return true;
	}

	public void setArray(List<Club> array) {
		this.array = array;
	}
	public static class Club implements Serializable{
		private static final long serialVersionUID = 1L;
		private String fid;
		private String ico;
		private String name;
		private String pud;
		

		public Club() {
			super();
		}

		public Club(String fid, String ico, String name) {
			super();
			this.fid = fid;
			this.ico = ico;
			this.name = name;
		}

		public String getPud() {
			return pud;
		}

		public void setPud(String pud) {
			this.pud = pud;
		}
		public String getFid() {
			return fid;
		}

		public void setFid(String fid) {
			this.fid = fid;
		}

		public String getIco() {
			return ico;
		}

		public void setIco(String ico) {
			this.ico = ico;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		@Override
		public String toString() {
			return "Club [fid=" + fid + ", ico=" + ico + ", name=" + name + "]";
		}

	}
}
